package org.csu.gp_store.service;

import org.csu.gp_store.entity.Evaluation;
import org.jetbrains.annotations.NotNull;

import java.util.List;

public interface EvaluationService {

    int insertEvaluation(Evaluation evaluation);

    List<Evaluation> getEvaluationByAccountID(@NotNull Long accountID);

    Evaluation getEvaluationByIndexID(@NotNull Long indexID);

    int deleteEvaluation(@NotNull Long indexID);

    int updateEvaluation(Evaluation evaluation);

    List<Evaluation> getEvaluationByProductID(@NotNull Long productID);
}
